package com.bootdo.system.dao;

import com.bootdo.system.domain.BreachRuleStatDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BreachRuleStatDao {
    // 查询
    BreachRuleStatDO get(@Param("userId") Long userId, @Param("date") String date);

    // 新增
    int save(BreachRuleStatDO statDO);

    // 修改
    int update(BreachRuleStatDO statDO);

    // 删除
    int delete(BreachRuleStatDO statDO);

    int deleteByUserId(@Param("userId") Long userId);
}
